/* 
* Copyright (C) 2011-2018 ShenZhen iBOXSaaS Information Technology Co.,Ltd. 
* 
* All right reserved. 
* 
* This software is the confidential and proprietary 
* information of iBOXSaaS Company of China. 
* ("Confidential Information"). You shall not disclose 
* such Confidential Information and shall use it only 
* in accordance with the terms of the contract agreement 
* you entered into with iBOXSaaS inc. 
* 
*/

 package com.iboxpay.open.auth.center.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 
 * AuthCenterConfig.java
 * @author xuxiao
 * @date 2018/06/25
 */
@Component
@Data
public class AuthCenterConfig {
    @Value("${auth.center.config.authCodeExpire}")
    private int authCodeExpire;
    
    @Value("${auth.center.config.privateKeyStr}")
    private String privateKeyStr;
    
    @Value("${auth.center.config.publickeyStr}")
    private String publickeyStr;
    
    @Value("${auth.center.config.accessTokenExp}")
    private int accessTokenExp;
    
    @Value("${auth.center.config.refreshTokenExp}")
    private int refreshTokenExp;
    
    @Value("${auth.center.config.appAccessTokenExp}")
    private int appAccessTokenExp;
    
    @Value("${auth.center.config.appRefreshTokenExp}")
    private int appRefreshTokenExp;
    
    @Value("${auth.center.config.loginUrl}")
    private String loginUrl;
    
    @Value("${auth.center.config.authApplyUrl}")
    private String authApplyUrl;
    
    @Value("${auth.center.config.authConfirmUrl}")
    private String authConfirmUrl;
}
